

<% var pageLevelJS = { %>
<%include("/WEB-INF/views/btl/template/include/select2.html"){}%>
<script type="text/javascript" src="${acePath}/assets/js/spinbox.min.js"></script>
<script type="text/javascript">
var settings = {
			modelDomainFlag:"str"
		 ,modelName:"版本信息"
		 ,modelFlag:"table/version"
		 ,key:"${sessionId}" 
		}
</script> 
<script type="text/javascript" src="${ctx}/static/js/str/tableVersion/edit.js"></script>
<%};%> 
<% var layoutParas =
{"title":"","add":isEmpty(data.id),"formId":"applyeditForm","pageLevelJS":pageLevelJS};
layout("/WEB-INF/views/btl/template/backBasicEditFormTemplate.html", layoutParas){ %>
	<input type="hidden" name="id" value="${data.id}">
 	<input type="hidden" required="required" name="tableId" value="${data.tableId}">
 	  <div class="form-group col-md-5">
	     <label class="required-before col-sm-3 control-label no-padding-right" for="name">版本名:</label>
	      <div class="col-sm-9 inline-height ">
			 <input type="text" oldval="${data.name}" value="${data.name}" class="validate[required,custom[validName],maxSize[50]] col-xs-10" name="name" placeholder="版本名">
		  </div> 
	</div>
 	 <div class="form-group col-md-5">
	     <label  class="required-before col-sm-3 control-label no-padding-right" for="flag">版本标识:</label>
	      <div class="col-sm-9 inline-height ">
			<input type="text" oldval="${data.flag}" value="${data.flag}" class="validate[required,maxSize[50]] col-xs-10" name="flag" placeholder="版本标识">
	  	</div> 
	  </div> 
	  <div class="form-group col-md-5">
	     <label  class="required-before col-sm-3 control-label no-padding-right" for="statusCode">状态:</label>
		 <div class="col-sm-9 inline-height ">
				<select placeholder="类型" oldval="${data.statusCode!'UNUSE'}" name="statusCode" class="col-xs-10">
				 <% for(res in ft!){ %>
				  <option value="${res.code}">${res.message}</option>
			　　   <% } %>
			</select>
		  </div> 
	  </div> 
	  <div class="form-group col-md-5">
	     <label for="remark" class="col-sm-3 control-label no-padding-right">备注:</label>
	     <div class="col-sm-9 inline-height">
		    <input type="text"   oldval="${data.remark}" value="${data.remark}" class="validate[maxSize[50]] col-xs-10" name="remark" placeholder="备注">
		  </div>
	  </div>	  
<%} %>
